package cn.tedu.pet.product.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class PetUpdateParam implements Serializable {
    /*@NotNull(message = "修改失败!必须添加品种id")
    @ApiModelProperty(value = "品种",required =true,example = "1" )
    private Long pinzhongid;*/

    @NotNull(message = "修改失败!必须添加宠物名称")
    @ApiModelProperty(value = "名称",required =true,example = "布偶猫or" )
    private String name;

    @NotNull(message = "修改失败!必须添加宠物状态")
    @ApiModelProperty(value = "状态",required =true,example = "在售or已售" )
    private String zhuangtai;

    @NotNull(message = "修改失败!必须添加宠物性别")
    @ApiModelProperty(value = "性别",required =true,example = "0" )
    private String xingbie;

    @NotNull(message = "修改失败!必须添加宠物生日")
    @ApiModelProperty(value = "生日",required =true,example = "xxxx年/xx月/xx日" )
    private String birth;

    @NotNull(message = "修改失败!必须添加宠物毛色")
    @ApiModelProperty(value = "毛色",required =true,example = "白色or" )
    private String colour;

    @NotNull(message = "修改失败!必须添加宠物出生地")
    @ApiModelProperty(value = "出生地",required =true,example = "出生地" )
    private String chushengdi;

    @NotNull(message = "修改失败!必须添加宠物疫苗次数")
    @ApiModelProperty(value = "疫苗次数",required =true,example = "2" )
    private String yimiao;


    @ApiModelProperty(value = "血统书",required =true,example = "1" )
    private String xuetong;

    @NotNull(message = "修改失败!必须添加宠物价格")
    @ApiModelProperty(value = "价格",required =true,example = "8888.00" )
    private Double jiage;


    @ApiModelProperty(value = "体重",required =true,example = "5.00" )
    private Double tizhong;


    @ApiModelProperty(value = "体重测试日",required =true,example = "xxxx年/xx月/xx日" )
    private String tzceshiri;


    @ApiModelProperty(value = "性格",required =true,example = "温顺or" )
    private String xingge;
}
